package com.lsno.finance.enums;

/**
 * Created by liuzeyang
 * 2017-01-21 14:23
 * 错误枚举
 */
public enum ResultEnum {
    UNKONW_ERROR(-1, "未知错误"),
    SUCCESS(0, "成功"),


    ;
	/** 错误代码*/
    private Integer code;
    /** 错误信息*/
    private String msg;

    ResultEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
